﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucDomainList.ascx.cs"
    Inherits="ExpertMIS.UserControl.ucDomainList" %>
<asp:DataList ID="dlDomains" runat="server" Height="100%" Width="100%" OnItemDataBound="dlDomains_ItemDataBound">
    <ItemTemplate>
        <table style="border: 0px;">
            <tr>
                <td style="width: 24px;">
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/Forums/ExpertList.aspx?oid=" + Eval("OID") %>'>
                        <asp:Image ID="imgDomainIcon" runat="server" ImageUrl="~/imgs/domain_icon.png" alt='<%# Eval("Remark") %>'
                            title='<%# Eval("Remark") %>' Style="border: 0px;" /></asp:HyperLink>
                </td>
                <td style="width:50px;">
                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "~/Forums/ExpertList.aspx?oid=" + Eval("OID") %>'
                        Text='<%# Eval("DomainName") %>'></asp:HyperLink>
                </td>
                <td style="font-size:12px;font-weight:normal;text-align:right;">
                    <%# GetDomainDescription(Eval("OID"))%>
                </td>
            </tr>
        </table>
        <span style="height: 32px; line-height: 32px; vertical-align: middle;"></span>
    </ItemTemplate>
    <ItemStyle Height="30px" />
</asp:DataList>
